#define _CRT_SECURE_NO_WARNINGS 1



#include<stdio.h>
#include<string.h>


int main()
{
	char arr[81] = { 0 };
	while (gets(arr) != NULL)
	{
		int i = 0, len = strlen(arr);
		for (i = 0; i < len; i++)
		{
			if (arr[i] != ' ')
				printf("%c", arr[i]);
		}
		printf("\n");
	}

	return 0;
}